<template>
	<view class="ad-swiper">
		<view class="message">
			<view class="title">小主，今日鸡汤已干完！</view>
			<text class="des">每日5碗鸡汤，如果想要加餐，\n点击下方看广告按钮，可继续推送5碗，\n每日最多加餐5次。</text>
		</view>
		<view class="btnGroup">
			<view class="btn">看广告刷新</view>
			<view class="text">今日还有5次机会</view>
		</view>
	</view>
</template>

<script setup>

</script>

<style lang="scss" scoped>
	.ad-swiper {
		height: 100%;
		// border: 1rpx solid green;
		background-color: #F8F8F8;
		padding: 100rpx 30rpx;		//todo 待排查问题的原因
		// padding: 0 30rpx;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		text-align: center;

		.message {
			background: #fff;
			border-radius: 30rpx;
			margin-top: 100rpx;
			padding: 40rpx;

			.title {
				font-size: 46rpx;
				padding-bottom: 20rpx;
				border-bottom: 1px solid #eee;
				margin-bottom: 20rpx;
			}

			.des {
				font-size: 32rpx;
				color: #555;
				line-height: 1.8em;
			}
		}

		.btnGroup {
			font-size: 30rpx;
			margin-bottom: 100rpx;

			.btn {
				width: 400rpx;
				height: 100rpx;
				background: linear-gradient(to top, #93c4ff, #b1e1ff);
				justify-content: center;
				align-items: center;
				display: flex;
				border-radius: 100rpx;
			}

			.text {
				font-size: 25rpx;
				padding: 20rpx 0;
			}


		}
	}
</style>